package xkp.lesson3;

import xkp.lesson1.Person;
import xkp.lesson2.Monk;

public class Demo1 {
	public static void main(String[] args) {
		//System.out.println(Demo1.this);
//		Person person = new Monk("五台山");
//		((Monk)person).getTemple();
		Monk monk = new Monk();
		System.out.println(monk.hashCode());
		monk.setTemple("五台山");
		
	}

}
